﻿using System;
using System.Xml.Serialization;
using EpiNEXT.Core.Fields.Properties;

namespace EpiNEXT.Core.Fields
{
    public class ImageField : FieldWithSeparatePrompt, IInputField
    {
        [XmlElement]
        public Color BorderColor { get; set; }

        public ImageField()
            : base()
        {
            this.InputHeight = 120;
            this.InputWidth = 120;
            this.BorderColor = new Color(255, 204, 204, 204);
        }

        //[XmlElement]
        //public double InputHeight { get; set; }

        /// <summary>
        /// The .NET data type for this field
        /// </summary>
        public string DataType { get { return "System.Byte[]"; } }
    }
}
